package com.yj.common.enums;

import com.google.gson.annotations.SerializedName;

/**
 * Copyright 2017 (C) Yunjian-VC
 * Created on : 2017/12/5
 * Author     : Unbelievable9
 **/
public enum TransportType {
    /**
     * 0 未知
     * 1 汽运
     * 2 火运
     * 3 船运
     */

    @SerializedName("0")
    UNKNOWN(0),

    @SerializedName("1")
    CAR(1),

    @SerializedName("2")
    TRAIN(2),

    @SerializedName("3")
    SHIP(3);

    private final Integer value;

    TransportType(final Integer newValue) {
        this.value = newValue;
    }

    public Integer getValue() {
        return value;
    }
}
